<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<style type="text/css">
			#box{
				width: 200px;
				height: 200px;
				background-color: orangered;
			}
		</style>
		<script src="node_modules/jquery/dist/jquery.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="box">
			
		</div>
		<script type="text/javascript">
			//1.直接绑定click, mouseout, mouseover
// 			$("#box").onmouseover(function  () {
// 				alert("11");
// 			});
			//2.on
// 			$("#box").on("click mouseout",function  () {
// 				alert("11");
// 			});
            //3.
			$("#box").on("click mouseout",function  () {
				console.log("111");
				$(this).off("mouseout");
			});
		</script>
	</body>
</html>
